- 
		Home
	
- 
ActivityPub
- 
4.7.1
- 
Code
- 
Classes
-  Migration 
		
			
				
					
													
								
																			
											| Total Complexity | 70 | 
																			
											| Dependencies | 4 | 
																			
											| Dependents | 1 | 
																	
							 
													
								
																			
											| Total lines | 549 | 
																			
											| Lines of code | 330 | 
																			
											| Logical lines of code | 168 | 
																	
							 
													
								
																			
											| Comment lines | 146 | 
																			
											| Methods | 25 | 
																			
											| Properties | 0 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 25
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| maybe_migrate() | A | 44 | 14 | 47 | 
					
				| migrate_actor_mode() | S | 55 | 7 | 20 | 
					
				| migrate_to_4_1_0() | S | 49 | 6 | 32 | 
					
				| migrate_to_4_0_0() | S | 49 | 5 | 32 | 
					
				| update_comment_counts() | S | 47 | 4 | 39 | 
					
				| migrate_from_0_16() | S | 55 | 4 | 19 | 
					
				| migrate_from_0_17() | S | 62 | 4 | 11 | 
					
				| is_locked() | S | 62 | 3 | 12 | 
					
				| migrate_to_4_7_1() | S | 61 | 2 | 13 | 
					
				| migrate_from_2_0_0() | S | 62 | 2 | 12 | 
					
				| migrate_from_1_2_0() | S | 63 | 2 | 11 | 
					
				| lock() | S | 65 | 2 | 8 | 
					
				| async_migration() | S | 72 | 2 | 5 | 
					
				| add_activitypub_capability() | S | 64 | 2 | 10 | 
					
				| init() | S | 72 | 1 | 5 | 
					
				| get_target_version() | S | 75 | 1 | 4 | 
					
				| get_version() | S | 79 | 1 | 3 | 
					
				| unlock() | S | 80 | 1 | 3 | 
					
				| is_latest_version() | S | 69 | 1 | 7 | 
					
				| migrate_from_2_2_0() | S | 80 | 1 | 3 | 
					
				| migrate_from_2_6_0() | S | 70 | 1 | 6 | 
					
				| add_default_settings() | S | 77 | 1 | 4 | 
					
				| add_notification_defaults() | S | 75 | 1 | 4 | 
					
				| update_usermeta_key() | S | 65 | 1 | 10 | 
					
				| update_options_key() | S | 65 | 1 | 10 |